Periodic analysis Table
ANALYZE [Local | No_write_to_binlog] TABLE tbl_name [, Tbl_name]
Use this statement to parse and store the keyword distribution for a table. During profiling, a table is locked with a read lock. This is useful for MyISAM,
"Problem phenomenon"A slow query was found on the online MySQL database, and the DBA observed that the server IO soared at query time, with an IO occupancy rate of 100% and execution time up to about 7s .The SQL statements are as follows:SELECT
OPTIMIZE TABLE is used to reclaim unused database space.
When rows of data on a table are deleted, the disk space occupied is not immediately reclaimed, the space is reclaimed after the Optimize table command is used, and the rows of data on the
50 methods to skillfully optimize your SQL Server database
There are many reasons for slow query speed. The following are common causes:
1. No index or no index is used (this is the most common problem of slow query and is a defect in programming)
The ORACLE tutorial is: several methods to optimize the design of Oracle database tables.
Preface
Most Oracle Database performance problems are caused by unreasonable Database design. Only a small number of problems are rooted in the unreasonable
Http://www.buywork.cn/biancheng/database/ SQL /20071111/10840.html
There are many reasons for slow query speed. The following are common causes: 1. No index or no index is used (this is the most common problem of slow query and is a defect in
There are many reasons for slow query speed. The following are common causes:1. No index or no index is used (this is the most common problem of slow queryProgramDesign defects)2. Low I/O throughput, resulting in a bottleneck effect.3. the query is
35. use SQL query analyzer and SQL profilerUse SQL query AnalyzerUse SQL profilerOptimize T-SQL statementSummaryIn this chapter, we will continue with the description of the pre-stored procedures in Chapter 21st. This chapter describes how to use
Use sqlprofile to optimize slow SQL statements in goldengate and SQL statements
In HP unix, a process is monitored to occupy a high cpu. Later, it was found that the statement execution plan in gg had a problem, resulting in a high cpu. Since the
How to optimize SQL statements (full) and SQL statements
High-performance SQL statements play a very important role in software operation. The following section will share the latest SQL statement optimization materials.
First:Select the most
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.